/* Firefox settings for Firemacs */

// Not sure what this does...
user_pref("accessibility.browsewithcaret", true);
user_pref("accessibility.typeaheadfind.flashBar", 0);

// Tabs
user_pref("browser.preferences.advanced.selectedTabIndex", 2);
user_pref("browser.tabs.autoHide", false);
user_pref("browser.tabs.warnOnClose", false);
user_pref("browser.tabs.warnOnOpen", false);

// Turn off phishing protection
user_pref("browser.safebrowsing.enabled", false);

user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.sessionstore.enabled", false);

user_pref("browser.startup.page", 0);

// Probably disables popup blocker
user_pref("dom.disable_open_during_load", false);
user_pref("dom.event.contextmenu.enabled", false);

// Mozlab
user_pref("extensions.mozlab.mozrepl.autoStart", true);

// Performance optimizations
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);

// Turn off image loading
user_pref("permissions.default.image", 2);

user_pref("pref.advanced.javascript.disable_button.advanced", false);
user_pref("security.enable_java", false);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);

